package com.koocloud.electroplatemanage.pojo;

import java.util.Date;

/**
 * @program:
 * @description:报价单表
 * @author: wjx
 * @create: 2020/11/13 11:16
 */
public class Quotation {
    private String idOrName;//模糊查询接参数用
    private int quotationId;//报价单编号
    private String typeworkCode;//镀种编号
    private String name;//镀种名称
    private double amount;//单价
    private Date updateTime;//修改时间
    private String user;//修改人
    private String remarks;//备注

    public Quotation() {
    }

    public Quotation(String idOrName, int quotationId, String typeworkCode, String name, double amount, Date updateTime, String user, String remarks) {
        this.idOrName = idOrName;
        this.quotationId = quotationId;
        this.typeworkCode = typeworkCode;
        this.name = name;
        this.amount = amount;
        this.updateTime = updateTime;
        this.user = user;
        this.remarks = remarks;
    }

    public String getIdOrName() {
        return idOrName;
    }

    public void setIdOrName(String idOrName) {
        this.idOrName = idOrName;
    }

    public int getQuotationId() {
        return quotationId;
    }

    public void setQuotationId(int quotationId) {
        this.quotationId = quotationId;
    }

    public String getTypeworkCode() {
        return typeworkCode;
    }

    public void setTypeworkCode(String typeworkCode) {
        this.typeworkCode = typeworkCode;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public double getAmount() {
        return amount;
    }

    public void setAmount(double amount) {
        this.amount = amount;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getUser() {
        return user;
    }

    public void setUser(String user) {
        this.user = user;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    @Override
    public String toString() {
        return "Quotation{" +
                "quotationId=" + quotationId +
                ", typeworkCode='" + typeworkCode + '\'' +
                ", name='" + name + '\'' +
                ", amount=" + amount +
                ", updateTime=" + updateTime +
                ", user='" + user + '\'' +
                ", remarks='" + remarks + '\'' +
                '}';
    }
}
